<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="查看日历" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function doCancel(){
		window.close();
	}
	function doDelete(id){
		if(id!=null && id!=""){
			ShowConfirm('确认框','确定删除吗？',340,80,"doDelAct("+id+")");
		}
	}
	function doDelAct(id){
		if(popRetVal!=null){
			window.location="/base/EstablishmentCommunicateDelete.ihtm?id="+id;
		}
	}
</script>
</head>
<body oncontextmenu="return false" scroll="yes" class="sheet modal-dialog" style="padding-top:15px;">
<div class="sheet-main"  style="width:460px;">
	  <div class="sheet-list" >
	    <div class="modal-main search-business">
	    	<div style="width:100%;">
				<c:set var="pageTopTitle" value="查看日历" />
				<c:set var="pageTopMark" value="" />
				<%@ include file="../inc/PageTop.jsp"%> 
				<table border="0" cellspacing="1" cellpadding="1" align="center" class="table-0">
					<tr>
				      	<th style="width:15%">标题：</th>
				      	<td style="width:85%"><c:out value="${record.communicate.title}" /></td>
					</tr>
					<tr>
				      	<th>日期：</th>
				      	<td><fmt:formatDate value="${record.communicate.communicateTime}" pattern="yyyy-MM-dd HH:mm"/></td>
					</tr>
					<tr>
				      	<th>客户：</th>
				      	<td>${record.estName}</td>
					</tr>
					<tr>
				      	<th>执行人：</th>
				      	<td>${record.communicate.createrName}</td>
					</tr>
					<tr>
				      	<th>&nbsp;</th>
				      	<td>&nbsp;</td>
					</tr>
					<tr>
				      	<th>内容：</th>
				      	<td><commonTag:parseEnterToBr source="${record.communicate.content}" /></td>
					</tr>
				</table>
			</div>
	  	</div>
	  </div>
	  <div class="modal-buttom" id="buttonDiv">
	  	<c:if test="${currentUser.user.userType==1}">
	  		<input type="button" class="buttom-a" value=" 删 除 " onClick="doDelete('${record.communicate.id}');">
		</c:if>
		<input type="button" class="buttom-a" value=" 关 闭 " onClick="doCancel();">
	</div>
</div>		
</body>
</html>